<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
</head>
<body onload="test()">
<form method="post" action="mailto:">
Field 1: <input type="text" size="10" maxlength="40" name="to" value="one@example.org">
Field 2: <textarea name="body">Line 1
Line 2
@&amp;=,;?"+</textarea>
<input type="submit" id="submit" formenctype="text/plain" />
</form>
<script>
function test()
{
    if (window.testRunner) {
        testRunner.dumpAsText();
        testRunner.waitForPolicyDelegate();
    }
    document.getElementById("submit").click();
}
</script>
</body>
</html>
